<script src="/javascripts/calendar.js"></script>
<link href="/stylesheets/awesome-form.css" rel="stylesheet" type="text/css" media="all" />
<h1>Signup using OpenID</h1>
<br/>

<form class="awesome" method="post" action="" enctype="multipart/form-data">
		
<label>OpenID </label>
<input name="openid_url" /><br/>
<label for="user_login">Username </label>
<input name="login" /><br/>
<label for="user_email">Email </label>
<input name="email" /><br/>
<label for="location">Where do you live? </label>
<input type="text" name="location" id="location" value="<%=@nuser.location%>" />
<br/>
<p class="desc">Since this is public, you may wish to only supply your zipcode, postal code or city and state.</p>
<DIV ID="testdiv1" STYLE="position:absolute;visibility:hidden;background-color:white;layer-background-color:white;"></DIV>
<DIV ID="testdiv2" STYLE="position:absolute;visibility:hidden;background-color:white;layer-background-color:white;"></DIV>
<script LANGUAGE="JavaScript" ID="jscal1x">
var cal1x = new CalendarPopup("testdiv1");
var cal2x = new CalendarPopup("testdiv2");
</script>
<label for="begins"><A HREF="#"
       onclick="cal1x.select(document.forms[0].begins,'anchor1x','yyyy-MM-dd');return false;"
       title="cal1x.select(document.forms[0].begins,'anchor1x','yyyy-MM-dd');
       return false;">When were you born?</a>
</label>
<a name="anchor1x" id="anchor1x"></a>
<input type="text" name="begins" id="begins" value="<%=@nuser.begins%>" />
<br/>
<p class="desc">Use day/month/year such as <%=Time.new.day%>/<%=Time.new.month%>/<%=Time.new.year-21%></p>
<input name="referer" type="hidden" value="<%= @referer %>" />
<input type="submit" value="signup" style="width:80px" />

</form>

<h1>What is OpenID?</h1>
<a href="http://openid.net">OpenID</a> is an internet-wide identity system that lets you sign
into different <a href="http://www.myopenid.com/directory/">websites</a> with a single user
account.  If you don't have an OpenID you first will want to get one.
There are <a href="http://myopenid.com">many places</a> to get an OpenID.
You can also signup with an <a href="/user/signup">ordinary login by going here<a/>.